package com.eshop.pojo;


import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * 商品表(Goods)表实体类
 *
 * @author makejava
 * @since 2024-01-17 15:13:46
 */
@SuppressWarnings("serial")
public class Goods extends Model<Goods> {
    //商品id
    private Integer id;
    //商品类型id
    private Integer goodsTypeId;
    //商品名
    private String goodsName;
    //单价
    private Double price;
    //品牌
    private String brand;
    //是否上架，1表示已上架，0表示为上架
    private Integer shelves;
    //图片base64编码
    private String img;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGoodsTypeId() {
        return goodsTypeId;
    }

    public void setGoodsTypeId(Integer goodsTypeId) {
        this.goodsTypeId = goodsTypeId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public Integer getShelves() {
        return shelves;
    }

    public void setShelves(Integer shelves) {
        this.shelves = shelves;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

}

